import { get, post } from '@/utils/request'
export function pageQuery(page, pageSize, options) {
  return get('/epidemic/pageQuery', {
    page,
    pageSize,
    ...options
  })
}

export function saveOrUpdate(data) {
  return post('/epidemic/saveOrUpdate', data)
}

export function deleteById(id) {
  return get('/epidemic/deleteById', {
    id
  })
}
